package com.bootdo.finance.service;

import com.bootdo.finance.domain.ReclassificationDO;

import java.util.List;
import java.util.Map;

/**
 * 收支分类
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2020-03-02 10:32:12
 */
public interface ReclassificationService {
	
	ReclassificationDO get(Integer id);
	
	List<ReclassificationDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(ReclassificationDO reclassification);
	
	int update(ReclassificationDO reclassification);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

	boolean checkDeptHasUser(Integer deptId);
}
